package org.example.system.service.question;

import org.example.system.model.question.dto.QuestionAddDTO;
import org.example.system.model.question.dto.QuestionEditDTO;
import org.example.system.model.question.dto.QuestionQueryDTO;
import org.example.system.model.question.vo.QuestionDetailVO;
import org.example.system.model.question.vo.QuestionVO;

import java.util.List;


public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    Boolean add(QuestionAddDTO questionAddDTO);

    QuestionDetailVO detail(Long questionId);

    Integer edit(QuestionEditDTO questionEditDTO);

    Integer delete(Long questionId);
}
